<if condition="$_D['show_location'] == 1">
    <!--默认的模版-->
    <showTPL name="{$_D['field']}">
        <literal>
            <tr>
                <th width="80">
                    {$form['name']}
                </th>
                <td> <if condition="$form['star']"> <font color="red">*</font>
            </if>{$form['form']}{$form['tips']}</td>
            </tr>
        </literal>
    </showTPL>
    <else/>
    <!--右侧的模版-->
    <showTPL name="{$_D['field']}">
        <literal>
            <tr>
                <td><b>{$form['name']}</b>  
            <if condition="$form['star']"> <font color="red">*</font>
            </if>
            </td>
            </tr>
            <tr>
                <td>{$form['form']}{$form['tips']}</td>
            </tr>
        </literal>
    </showTPL>
</if>